/* ===== CONTRÔLE DU ZOOM ===== */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-x pan-y;
    max-width: 100%;
    overflow-x: hidden;
    zoom: 80%;
}

input, textarea, select {
    -webkit-user-select: text;
    user-select: text;
    font-size: 16px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html[lang="ar"] {
    direction: rtl;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ===== HEADER STYLES ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.main-nav {
    display: flex;
    gap: 2rem;
    margin: 0 auto;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-signup {
    display: flex;
    gap: 1rem;
}

.btn-signup, .btn-login {
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.btn-signup {
    background: white;
    color: #667eea;
}

.btn-login {
    background: transparent;
    color: white;
}

.btn-signup:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-login:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1200px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 0.0001;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ===== NOUVELLE SECTION DE RECHERCHE AMÉLIORÉE ===== */
.search-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.search-container-main {
    max-width: 800px;
    margin: 0 auto;
}

.search-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.search-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.search-header p {
    font-size: 1.2rem;
    color: #718096;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* ===== BOÎTE DE RECHERCHE PRINCIPALE ===== */
.search-box-main {
    position: relative;
    margin-bottom: 2rem;
}

.search-input-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.search-icon-main {
    color: #667eea;
    font-size: 1.3rem;
    margin: 0 1rem;
}

.search-input-main {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    background: transparent;
    padding: 1rem 0;
    color: #2d3748;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.search-input-main::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.search-btn-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.search-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ===== SUGGESTIONS AMÉLIORÉES ===== */
.suggestions-main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    margin-top: 1rem;
    overflow: hidden;
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideDownSuggest 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDownSuggest {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.suggestions-header span {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.close-suggestions {
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.close-suggestions:hover {
    background: #edf2f7;
    color: #667eea;
}

.suggestions-list {
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f7fafc;
    gap: 1rem;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    transform: translateX(-5px);
}

.suggestion-item.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    background: #edf2f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.2s ease;
}

.suggestion-item:hover .suggestion-icon {
    background: #667eea;
    color: white;
}

.suggestion-item.selected .suggestion-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin-bottom: 0.2rem;
}

.suggestion-item:hover .suggestion-title {
    color: #667eea;
    font-weight: 600;
}

.suggestion-item.selected .suggestion-title {
    color: white;
    font-weight: 600;
}

.suggestion-category {
    font-size: 0.85rem;
    color: #a0aec0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.suggestion-item.selected .suggestion-category {
    color: rgba(255, 255, 255, 0.8);
}

.suggestion-title mark {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2d3748;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.suggestion-item.selected .suggestion-title mark {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* ===== ÉTAT VIDE AMÉLIORÉ ===== */
.empty-state-main {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #a0aec0;
    font-size: 2rem;
}

.empty-state-main h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.empty-state-main p {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 2rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.empty-suggestions {
    text-align: center;
}

.empty-suggestions span {
    display: block;
    color: #718096;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.suggestion-tags {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    background: #edf2f7;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 0.9rem;
}

.tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ===== CATÉGORIES RAPIDES ===== */
.quick-categories {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.quick-categories span {
    display: block;
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.categories-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 500;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.category-btn i {
    font-size: 1.1rem;
}

/* ===== SCROLLBAR PERSONNALISÉE ===== */
.suggestions-main::-webkit-scrollbar,
.suggestions-list::-webkit-scrollbar {
    width: 8px;
}

.suggestions-main::-webkit-scrollbar-track,
.suggestions-list::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 0 20px 20px 0;
}

.suggestions-main::-webkit-scrollbar-thumb,
.suggestions-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.suggestions-main::-webkit-scrollbar-thumb:hover,
.suggestions-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6b46c1 100%);
}

/* ===== SECTIONS EXISTANTES ===== */
.stats-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.number {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #666;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.features-section {
    padding: 4rem 2rem;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #555;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.feature-item i {
    color: #667eea;
    font-size: 1.5rem;
    width: 30px;
}

.feature-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.popular-courses {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.course-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.course-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.course-level, .course-duration {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.course-level {
    background: #e3f2fd;
    color: #1976d2;
}

.course-duration {
    background: #f3e5f5;
    color: #7b1fa2;
}

.course-btn {
    display: block;
    text-align: center;
    background: #667eea;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.course-btn:hover {
    background: #5a6fd8;
}

.offers-section {
    padding: 4rem 2rem;
    background: white;
}

.offers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.offer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.offer-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.offer-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.period {
    font-size: 1rem;
    opacity: 0.9;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.offer-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.footer-description {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #667eea;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.footer-links a:hover {
    color: #667eea;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.contact-item i {
    color: #667eea;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #999;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.footer-links-bottom {
    display: flex;
    gap: 2rem;
}

.footer-links-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.footer-links-bottom a:hover {
    color: #667eea;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .search-hero {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .search-header h3 {
        font-size: 1.8rem;
    }

    .search-input-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .search-btn-main {
        width: 100%;
        justify-content: center;
    }

    .categories-list {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .suggestions-main {
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .search-header h3 {
        font-size: 1.5rem;
    }

    .search-input-main {
        font-size: 1rem;
    }

    .suggestion-tags {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .btn-signup, .btn-login {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .suggestions-main {
        border-radius: 12px;
    }
}

/* Animation de secousse pour les erreurs */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.search-error {
    animation: shake 0.5s ease-in-out;
}


.main-navbar {
    width: 100%;
    padding: 15px 30px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a8060;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-nav {
    padding: 8px 16px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-family: 'Tajawal';
    transition: 0.2s;
}

.btn-nav:hover {
    background: #e4e4e4;
}

.btn-primary {
    background: #0aa76f;
    color: white;
}

.btn-primary:hover {
    background: #08885c;
}

.nav-dashboard {
    display: none;
}

.dashboard-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.dashboard-btn span {
    font-size: 36px;
    color: #0aa76f;
}

/* ============= Header Modern ============= */
.new-header {
    width: 100%;
    background: #1435c7;
    border-bottom: 1px solid #e9e9e9;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    direction: rtl;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.new-header .container {
    width: 95%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo {
    font-size: 38px;
    font-weight: 800;
    color: #e00b0b;
    font-family:Georgia, 'Times New Roman', Times, serif
}

/* Navigation */
.header-nav {
    display: flex;
    gap: 28px;
}

.header-nav a {
    text-decoration: none;
    font-size: 20px;
    font-family:'Times New Roman', Times, serif;
    color: #ffffff;
    transition: .2s;
}

.header-nav a:hover {
    color: #0A8A60;
    transform: translateY(-2px);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Tajawal';
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}

.login-btn {
    background: #fff;
    border: 1px solid #0A8A60;
    color: #000000;
    
}

.login-btn:hover {
    background: #e8fff2;
}

.signup-btn {
    background: #0A8A60;
    color: white;
}

.signup-btn:hover {
    background: #067347;
}

/* User Avatar */
.user-avatar {
    display: none;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #0A8A60;
    cursor: pointer;
    transition: .2s;
}

.avatar:hover {
    transform: scale(1.08);
}


